<%@ page language="java" contentType="application/xhtml+xml; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %>
<%@ taglib prefix="u" tagdir="/WEB-INF/tags" %>
<u:html-top title="Individual ${individual.integralis}"/>

<h2>Reception Tubes</h2>

<c:if test="${userHasWritePrivileges }">
<div>
<c:url value="/db/reception/create" var="url">
	<c:param name="individual_id" value="${individual.id}"/>
</c:url>
<a href="<c:out value="${url}" escapeXml="true"/>">Create a new Reception</a>
</div>
</c:if>

<c:choose>
<c:when test="${not empty individual.receptionTubes }">
<u:reception-list receptions="${individual.receptionTubes}"/>
</c:when>
<c:otherwise>
<i>No Reception.</i>
</c:otherwise>
</c:choose>


<u:html-bottom/>